package modele;

public class ForeseeableAction extends Action {

	int remainTime;
	int totalTime;

	public ForeseeableAction(int a) {
		this.totalTime = a;
		this.remainTime = a;
	}

	public void reallyDoStep() {
		System.out.println("(" + ((totalTime - remainTime) + 1) + "/"
				+ totalTime + ")");
		--remainTime;
	}

	public boolean isReady() {
		return (totalTime == remainTime);
	}

	public boolean isFinished() {
		return (remainTime == 0);
	}

}
